package com.example.designPatten.observer.ObserverSingle;

/**
* @Title:   []
* @Description: 
* @Date : 2016年4月20日下午5:01:04
* @Company: SI-TECH
* @author : LIJXD
* @version : 1.0
* @modify history
*  <p>修改日期    修改人   修改目的<p> 	
*/
public class WeatherStation {
	public static void main(String[] args) {
		WeatherData weatherData = new WeatherData();
		CurrendConditionDiaplay curdisplay = new CurrendConditionDiaplay(weatherData);
		ForecastDisplay forecastDisplay = new ForecastDisplay(weatherData);
		HeatIndexDisplay heatIndexDisplay = new HeatIndexDisplay(weatherData);
		
		weatherData.setMessurement(80, 81, 82.1f);
		weatherData.setMessurement(60, 61, 62.1f);
		weatherData.setMessurement(50, 51, 52.1f);	
	}
}
